<?php

namespace App\Http\Controllers\Wechat;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\Shop\Customer;

class CustomerController extends Controller
{

    function __construct()
    {
        view()->share([
            '_customer'=>'on',
        ]);

    }

    public function index()
    {
//        $customers = Customer::where('id',session('wechat.customer.id'))->get();
        return view('wechat.customer.index');
    }
}
